package main

import (
	"net/http"
	"fmt"
)

type Hello struct {

}

func (h Hello) ServeHTTP(w http.ResponseWriter,r *http.Request) {
	fmt.Fprintf(w,"huangliusong")
}

func main() {
	var h Hello
	err:=http.ListenAndServe(":8888",h)
	if err!=nil{
		fmt.Printf("%s",err)
	}
}
